<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Admin extends Model
{
    //定义管理员-档案关联关系
    public function profile()
    {
        return $this->hasOne(Profile::class, 'uid');
    }

}
